package cli;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 * @ClassName HeapInstanceDemo
 * @Author ykx
 * @Date 2024/6/30 18:47
 * @Version 1.0
 */
public class HeapInstanceDemo {

    byte[] buffer = new byte[new Random().nextInt(1024 * 200)];

    public static void main(String[] args) {
        List<HeapInstanceDemo> list = new ArrayList<>();
        while (true) {
            list.add(new HeapInstanceDemo());
            try {
                Thread.sleep(10);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
}
